<?php

namespace Modules\Mallsetting\Http\Controllers\Api;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Modules\Mallsetting\Http\Controllers\Controller;


class ExpressController extends Controller
{
    /**
     * 获取列表
     */
    public function list()
    {
        $list = array(
            array(
                'name' => '顺丰物流',
                'code' => 'SF',
            ),
            array(
                'name' => '申通快递',
                'code' => 'STO',
            ),
            array(
                'name' => '韵达快递',
                'code' => 'YD',
            ),
            array(
                'name' => '圆通速递',
                'code' => 'YTO',
            ),
            array(
                'name' => '中通速递',
                'code' => 'ZTO',
            ),
            array(
                'name' => '百世快递',
                'code' => 'HTKY',
            ),
        );
        return $this->success($list,"获取成功");
    }
}